* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: Helvetica, Tahoma, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  min-height: 100%;
  line-height: 1.15;
  font-size: 14px;
  zoom: 1;
}

body {
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;

  &.auto-height {
    max-height: initial;
  }
}

a {
  color: inherit;
  -webkit-touch-callout: none;
  cursor: pointer;
  text-decoration: none;
  &:link {
    color: inherit;
    text-decoration: none !important;
  }
  &:visited {
    color: inherit;
    text-decoration: none !important;
  }
  &:hover {
    color: inherit;
    text-decoration: none !important;
  }
  &:active {
    color: inherit;
    text-decoration: none !important;
  }
}

fieldset {
  border: 1px solid #ccc;

  & > legend {
    padding: 0 .2rem;
    color: #aaa;
  }
}

